﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.IO;
using System.Reflection;
using System.Threading;

namespace KaartSpel
{
    public partial class GameScherm : Form
    {
        FormController controller;

        public GameScherm(FormController c)
        {
            InitializeComponent();
            this.controller = c;
            playerListView.MouseClick += new MouseEventHandler(this.playerListView_MouseDown);
        }

        void playerListView_MouseDown(Object sender, MouseEventArgs e)
        {
            controller.playerListView_MouseDown(sender, e);
        }

        private void GameScherm_Load(object sender, EventArgs e)
        {
            controller.Scherm_Load(sender, e);
        }

        private void delayTimer_Tick(object sender, EventArgs e)
        {
            delayTimer.Stop();
            controller.TimerTick();
        }
    }
}
